while True:
    try:
        a = int(input("输入一个整数a:"))
        b = int(input("输入一个整数b:"))
        print(a / b)
        break
    except ValueError:
        print("必须要输入整数！")
    except ZeroDivisionError:
        print("除数不能为0！")